import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class SecondePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new Scaffold(
        appBar: new AppBar(title: new Text("22222")),
        body: Center(
            child: GestureDetector(
              child: Text(
                '第二个页面',
                style: new TextStyle(fontSize: 66),
              ),
              onTap: () {
                print("点我干嘛");
                Navigator.push(context,
                    new CupertinoPageRoute(builder: (context) => new SecondePage()));
              },
            )));
  }
}
